package bookstore.idao;

import java.util.List;
import bookstore.model.Book;

public interface IBookDao extends IBaseDao<Book,Integer> {

    List<Book> findByPage(Integer categoryid, String name, Integer pageSize, Integer pageNo);

    Integer findCount(Integer categoryid, String name);
    public List<Book> findAll(Integer pageSize, Integer pageNo);
    public List<Book> findByCatId(Integer catId, Integer pageSize, Integer pageNo);
    public void updateBook(Book book);
}
